<header class="am-topbar am-topbar-inverse admin-header">
	<!-- logo/名称信息 -->
	<div class="am-topbar-brand">
		<a href="{{:MyUrl('admin/index/index')}}">
			<h2>{{$admin_theme_site_name}}<span class="admin-site-vice-name am-margin-left-xs">后台管理系统</span></h2>
		</a>
	</div>

	<!-- 快捷导航 -->
    <div class="am-fl am-text-nowrap am-scrollable-horizontal header-menu-open-pages-list tabs-switch-horizontal-container">
        <ul></ul>
    </div>

    <!-- 手机模式下导航按钮 -->
	<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-xs am-btn-success am-show-sm-only am-radius header-nav-submit" data-am-collapse="{target: '#topbar-collapse'}">
		<span class="am-sr-only">导航切换</span>
		<i class="am-icon-bars"></i>
	</button>

	<!-- 右侧内容 -->
	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">
		<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list tpl-header-list">
			<li class="am-dropdown">
				<a href="{{$theme_color_url}}">
					<i class="am-icon-adjust"></i>
					<span>{{$theme_color_name}}</span>
				</a>
			</li>
			{{if AdminIsPower('cache', 'statusupdate')}}
				<li class="am-dropdown">
					<a href="javascript:;" class="submit-ajax" data-url="{{:MyUrl('admin/cache/statusupdate')}}" data-is-confirm="0" data-is-loading="1">
						<i class="am-icon-paint-brush"></i>
						<span>清除缓存</span>
					</a>
				</li>
			{{/if}}

			<li class="am-dropdown am-hide-sm-only">
				<a href="javascript:;" class="fullscreen-event" data-fulltext-open="开启全屏" data-fulltext-exit="退出全屏">
					<i class="am-icon-arrows-alt"></i>
					<span class="fullscreen-text">开启全屏</span>
				</a>
			</li>

			<li class="am-dropdown">
				<a href="{{$home_url}}" target="_blank">
					<i class="am-icon-home"></i>
					<span>查看首页</span>
				</a>
			</li>
			
			<li class="am-dropdown common-nav-top" data-am-dropdown data-am-dropdown-toggle>
				<a class="am-dropdown-toggle" href="javascript:;">
					<i class="am-icon-user"></i>
					<span class="tpl-header-list-user-nick">{{$admin.username}}</span>
					<span class="tpl-header-list-user-ico">
					</span>
				</a>
				<ul class="am-dropdown-content">
					<li>
						<a href="javascript:;" data-type="nav" data-url="{{:MyUrl('admin/admin/saveInfo', array('id'=>$admin['id']))}}">
							<i class="am-icon-cog"></i>
							设置
						</a>
					</li>
					<li>
						<a href="{{:MyUrl('admin/admin/logout')}}">
							<i class="am-icon-power-off"></i>
							退出
						</a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
</header>